package br.com.ilha.action.teste;

import org.apache.struts2.convention.annotation.Action;
import org.apache.struts2.convention.annotation.Result;

import br.com.ilha.bo.MunicipioBO;

public class PopulaMunicipiosTeste {
	
	@Action(value = "testePopulaMunicipios", results = {
			@Result(name = "ok", location = "/teste.html")
	})
	public String execute() {
		
		MunicipioBO municipioBo = new MunicipioBO();
		municipioBo.populaMunicipios();
		return "ok"; 
	}
	
}
